package com.sean.uml.classrelationship.association;

public class Person {

    private Computer computer;

    public Person(Computer computer) {
        this.computer = computer;
    }

    public static void main(String[] args) {
        Computer computer = new Computer();
        new Person(computer).work();
        System.out.println(new Person(computer).computer);
    }

    public void work() {

        this.computer.develop();

    }
}
